package com.y.main;

import com.y.service.WeatherService;

import javax.xml.ws.Endpoint;

public class MainClass {

    public static void main(String[] args) {
        //发布服务
        Endpoint.publish("http://127.0.0.1:9999/aaa",new WeatherService());

        System.out.println("服务已发布：：：：");
    }
}
